var a = {};
(function (Client) {
    var Address = (function () {

        console.log("Address onCreate");

        function Address() {
            console.log("Address function()");
        }

        Address.prototype.getShowName = function () {
            return "Guangzhou";
        };

        Address.showAddressName = function () {
            return "Shanghai";
        };

        return Address;
    })();

    Client.Address = Address;
})(client = a.Client || (a.Client = {}));

var valid = a.Client.Address !== undefined;
console.log(valid);
console.log(a.Client.Address.showAddressName());
console.log(a.Client.Address.prototype.getShowName());
